package cn.keniykey.mc.viewlibrary.packet.api;

import java.util.List;

import org.bukkit.inventory.ItemStack;

public final class PacketWindowItemsDispatch extends AbWindowPacketDispatch {
	private final List<ItemStack> items;

	public PacketWindowItemsDispatch(int windowid, List<ItemStack> listitems) {
		super(windowid);
		this.items = listitems;
	}
	public PacketWindowItemsDispatch(List<ItemStack> listitems) {
		this.items = listitems;
	}

	public List<ItemStack> getItems() {
		return this.items;
	}
}